package org.xliu.cs.openproject.codegenerator.demo.pojo;

public class Product {
    private int id;
    private String name;
    private double price;
    private String[] categories;
    private Address[] locations;
    
    // Constructors
    public Product() {}
    
    public Product(int id, String name, double price, String[] categories, Address[] locations) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.categories = categories;
        this.locations = locations;
    }
    
    // Getters and Setters
    public int getId() {
        return id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public double getPrice() {
        return price;
    }
    
    public void setPrice(double price) {
        this.price = price;
    }
    
    public String[] getCategories() {
        return categories;
    }
    
    public void setCategories(String[] categories) {
        this.categories = categories;
    }
    
    public Address[] getLocations() {
        return locations;
    }
    
    public void setLocations(Address[] locations) {
        this.locations = locations;
    }
}